/*
 *  Copyright 2011 Yuri Kanivets
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package com.itboye.ihomebank.widget.wheelview;

/**
 * 滚轮点击侦听器接口。
 * <p>的onitemclicked()方法叫做每当一轮项目点击
 * <li> 新的车轮位置设置
 * <li> 视图滚动轮
 */
public interface OnWheelClickedListener {
    /**
     * 当当前项目单击时调用的回调方法
     * @param wheel the wheel view
     * @param  itemindex点击项目指标
     */
    void onItemClicked(WheelView wheel, int itemIndex);
}
